package com.ctgu.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author cs
 * @since 2023-07-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Word implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 留言ID
     */
    @TableId(value = "word_id", type = IdType.AUTO)
    private Integer wordId;

    /**
     * 学生ID
     */
    @TableField("stu_id")
    private Integer stuId;

    /**
     * 留言内容
     */
    @TableField("word_content")
    private String wordContent;

    /**
     * 留言时间
     */
    @TableField("word_time")
    private String wordTime;

    private String stuName;
    private String teaName;
}
